
<template>

  <!-- <RouterView/> -->
  <button @click="homeviewClick">sdf</button>

<HomeView ref="homeview"  v-model:msg="msg"/>



<p>hello</p>
</template>



<script setup>
import HomeView from './views/HomeView.vue'
import {ref} from 'vue'
const homeview=ref();
const msg=ref("按钮");

const test=(e)=>{
  console.log(e)
}
const homeviewClick=()=>{
 
   homeview.value.b()
}


const theme = {
  color: 'red'
}



</script>



<style scoped>

p {
  color: v-bind('theme.color');
}
</style>
